package Decorator;
import Component.Component;

public class Decorator extends Component{
    private Component componentInit;

    public Decorator(Component componentInit){
        this.componentInit=componentInit;
    }


    @Override
    public void operation(String character) {
        this.componentInit.operation(character);
    }
}
